package com.uyaer.wheel.display.scene.el
{
	import starling.display.MovieClip;
	import starling.textures.Texture;
	
	public class ElementBase extends MovieClip implements IElement
	{
		private var speedX:Number = -0.5;
		private var speedY:Number = -10;
		public function ElementBase(textures:Vector.<Texture>, fps:Number=12)
		{
			super(textures, fps);
			this.pivotX = this.width >> 1;
			this.pivotY = this.height;
		}
		
		internal function init():void{
		}
		
		public function move():void
		{
		}
		
		public function recycle():void{
			removeFromParent();
			this.dispose();
			
			this.init();
		}
	}
}